from flask import Flask,request
from config import Config
app = Flask(__name__)
from flask_cors import CORS
from cate import bp_cate
from goods import bp_good
from user import bp_user
from auser import bp_auser
from article import bp_article
CORS(app)
app.config.from_object(Config)
app.register_blueprint(bp_cate)
app.register_blueprint(bp_good,url_prefix='/good')
app.register_blueprint(bp_user,url_prefix='/users')
app.register_blueprint(bp_auser,url_prefix='/auser')
app.register_blueprint(bp_article,url_prefix='/article')

if __name__ == '__main__':
    app.run()